<!DOCTYPE html>  
<html lang="en">
<head>
  <meta charset="UTF-8">
    <title>
      {$art.title}在线观看-{$art.title}迅雷下载-{$catname}-迅播影院
    </title>

    <link href="http://statics.joy3g.com/2tu/css/style.css?v201506" type="text/css"
    rel="stylesheet">
    <meta http-equiv="x-ua-compatible" content="ie=7" />
    <script>
      var sitePath = ''
    </script>
    <script type="text/javascript" src="http://statics.joy3g.com/2tu/static/js/jquery-1.7.1.min.js?v201406">

    <script type="text/javascript" src="/public/js/ajax.js">
    </script>
     <script type="text/javascript" src="http://statics.joy3g.com/2tu/static/js/common.js?v201406">
    </script>
    <script type="text/javascript" src="http://statics.joy3g.com/2tu/common.js?v201406"></script>
    <script type="text/javascript" src="/public/js/ajax.js"></script>
  </head>
    <!-- 头部 -->
    <?php require('./public/head.html') ?>
    <!--/header-->



<!-- 主体信息 -->
    <div id="main">
      <div class="banner"></div>        
      
      <div class="view">
        <div class="wz">
          当前位置:
          <a href='/'>
            首页
          </a>
          &nbsp;&nbsp;&raquo;&nbsp;&nbsp;
          <a href="<?php echo U('home/cat/search/cat/'.$art['cat_id']) ?>">
            {$catname}
          </a>
          &nbsp;&nbsp;&raquo;&nbsp;&nbsp;
          <a href="<?php echo U('home/cat/search/cat/'.$art['cat_id']) ?>">
            {$class}
          </a>
          &nbsp;&nbsp;&raquo;&nbsp;&nbsp;{$art.title}
        </div>
        <div class="pic">
          <img src="{$art.img}" />
          <p>
            <a href="#down">
              立即播放
            </a>
          </p>
        </div>
        <div class="info">
          <h1>
            {$art.title}
          </h1>
          <ul>
            <li>
              <span>
                上映年代：
              </span>
              {$art.year}&#160;&#160;
              <span>
                状态：
              </span>
              <?php if ($art['status'] == 1) {
                echo '全集';
              }else{
                echo '更新到：',$art['sum'],'集';
              }

              ?> 


            </li>
            <li>
              <span>
                类型：
              </span>      
                {$class}
            </li>
            <li>
              <span>
                主演：
              </span>
              {$art.actor}
            </li>
            <li>
              <span>
                地区：
              </span>
              {$art.region}
            </li>
            <li>
              <div class="fl">
                <span>
                  更新日期：
                </span>
                <?php echo date('Y年m月d日',$art['update_time']) ?>&#160;&#160;
              </div>
              
            </li>
          </ul>
          <div class="textdesc">
            <span>
              剧情：
            </span>
            <?php echo mb_substr($art['brief'],0,60); ?>
            [
            <a href="#desc">
              详细
            </a>
            ]
          </div>
          <div class="pfen">
            <p>
              影片评价
            </p>
            <div class="starscore" style="width:250px;">
              <input type="hidden" id="MARK_B1" name="MARK_B1" value="0" />
              <input type="hidden" id="MARK_B2" name="MARK_B2" value="0" />
              <input type="hidden" id="MARK_B3" name="MARK_B3" value="0" />
              <div class="starA fl" id="filmStar">
                <div class="" id="start">
                </div>
                <div class="starC" id="starTC">
                  <a href="javascript:;" onclick="grade(1)" onmouseout="kaifach()"
                  onmousemove="startm(1)">
                  </a>
                  <a href="javascript:;" onclick="grade(2)" onmouseout="kaifach()"
                  onmousemove="startm(2)">
                  </a>
                  <a href="javascript:;" onclick="grade(3)" onmouseout="kaifach()"
                  onmousemove="startm(3)">
                  </a>
                  <a href="javascript:;" onclick="grade(4)" onmouseout="kaifach()"
                  onmousemove="startm(4)">
                  </a>
                  <a href="javascript:;" onclick="grade(5)" onmouseout="kaifach()"
                  onmousemove="startm(5)">
                  </a>
                  <a href="javascript:;" onclick="grade(6)" onmouseout="kaifach()"
                  onmousemove="startm(6)">
                  </a>
                  <a href="javascript:;" onclick="grade(7)" onmouseout="kaifach()"
                  onmousemove="startm(7)">
                  </a>
                  <a href="javascript:;" onclick="grade(8)" onmouseout="kaifach()"
                  onmousemove="startm(8)">
                  </a>
                  <a href="javascript:;" onclick="grade(9)" onmouseout="kaifach()"
                  onmousemove="startm(9)">
                  </a>
                  <a href="javascript:;" onclick="grade(10)" onmouseout="kaifach()"
                  onmousemove="startm(10)">
                  </a>
                </div>
              </div>
              <span class="no c1" id="filmStarScore">
              <!-- 评分 -->
              </span>
            </div>
            <div class="fen" id="filmStarScoreTip">
            </div>
          </div>
            
            <script> 
                //评分初始化
                function initalGrade(){
                   var grade = "<?php echo $art['grade'] ?>";
                   $('#filmStarScore').html(grade);
                   var grade = Math.round(parseFloat(grade));
                   $('#start').attr('class','starB s'+grade);
                }
                initalGrade();
                //鼠标移动
                function startm(sum){
                  $('#start').attr('class','starB s'+sum);
                  $('#filmStarScore').html(sum);
                }
                //点击评分
                function grade(sum){
                  var url = '/index.php/grade/sum/'+sum+'/id/'+<?php echo $art['art_id'] ?>;
                  ajax('get',url,null);
                }
                //鼠标离开
                function kaifach(){                  
                  grade = "<?php echo $art['grade'] ?>";
                  $('#filmStarScore').html(parseFloat(grade));
                  var grade = Math.round(parseFloat(grade));
                  $('#start').attr('class','starB s'+grade);  
                }
            </script>            
    
        </div>

        <div class="updatetps clearfix">
          度盘：{$art.baidu} 密码：{$art.baidu_pwd} 
        </div>
      </div>
      <div class="infoad">
 
        <div class="skydrive" style="margin:0">
          <p>
            <span>
              友情提示：
            </span>
            欢迎大家使用网盘连接下载！
          </p>
          <ul>
            <li class=wbaidu>
              <a href="{$art.baidu}" target=_blank>
                密码：{$art.baidu_pwd}
              </a>
            </li>
          </ul>
        </div>
      </div>
      <div class="cr">
      </div>
      <div style="background:transparent;height:10px;"></div>
      <div class="endpage clearfix">
        <div class="ulike">
          <div class="title">
            <span>
              猜你喜欢
            </span>
          </div>
          <ul class="img-list imglist clearfix">

          <?php foreach ($similar as  $v) {  ?>

         
            <li>
              <a class="play-img" href="<?php echo U('sp/id/'.$v['art_id']) ?>" target="_blank">
                <img src="{$v.img}"  />
                <i>
                </i>
              </a>
              <h5>
                <a href="<?php echo U('sp/id/'.$v['art_id']) ?>"  target="_blank">
                  {$v.title}
                </a>
              </h5>
            </li>

          <?php } ?>  
         
          </ul>
        </div>
        <a id="kan">
        </a>
        <div class="mox">
          <div class="title">
            <span>
              在线观看
            </span>

          </div>
          <div class="play-list">
           <?php foreach ($download as $v) { ?>
            <a  href="<?php echo U('/play/id/'.$v['r_id']); ?>" target="_blank">
              第{$v.num}集
            </a>

          <?php } ?>
          </div>
        </div>

        <!--/mox-->
        <div class="mox">
          <a id="down">
          </a>
          <div class="title">
            <span>             
              下载地址
            </span>
          </div>
          <div class="ndownlist">
            <ul>

            <?php foreach ($download as $v) { ?>
    
              <li>
                <p>
                  <a href="{$v.thunder}" target="_blank" title="迅雷高速下载">
                    {$v.title}第{$v.num}集
                  </a>
                </p>
                <span>
                  <a class="d5" href="{$v.thunder}"
                  target="_blank" title="迅雷高速下载">
                    迅雷
                  </a>
                </span>
              </li>
    
            <?php } ?>
            
            </ul>
          </div>
        </div>
        <!--/mox-->
        <div class="mox juqing">
          <a id="desc">
          </a>
          <div class="title">
            <span>
              剧情介绍
            </span>
          </div>
          <div class="endtext">
           {$art.brief} 
          </div>
        </div>
        <!--/mox-->
        <div class="cr">
        </div>
        <a id="pl">
        </a>

    </div>
    <!--/main-->

    <!-- 引入底部 -->
    <?php require('./public/footer.html') ?>
    <!-- end底部 -->
  </body>

</html>